package com.kx.springsecurity.domain;


import java.util.List;

public class Role {

  private long id;
  private String rolename;
  //一种角色可以有多种操作
  private List<Menu> menuList;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getRolename() {
    return rolename;
  }

  public void setRolename(String rolename) {
    this.rolename = rolename;
  }

  public List<Menu> getMenuList() {
    return menuList;
  }

  public void setMenuList(List<Menu> menuList) {
    this.menuList = menuList;
  }
}
